﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000439 RID: 1081
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnhanceCommonRogueBuffCsReq : IMessage<EnhanceCommonRogueBuffCsReq>, IMessage, IEquatable<EnhanceCommonRogueBuffCsReq>, IDeepCloneable<EnhanceCommonRogueBuffCsReq>, IBufferMessage
	{
		// Token: 0x17000DED RID: 3565
		// (get) Token: 0x0600309A RID: 12442 RVA: 0x000860BD File Offset: 0x000842BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnhanceCommonRogueBuffCsReq> Parser
		{
			get
			{
				return EnhanceCommonRogueBuffCsReq._parser;
			}
		}

		// Token: 0x17000DEE RID: 3566
		// (get) Token: 0x0600309B RID: 12443 RVA: 0x000860C4 File Offset: 0x000842C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnhanceCommonRogueBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000DEF RID: 3567
		// (get) Token: 0x0600309C RID: 12444 RVA: 0x000860D6 File Offset: 0x000842D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnhanceCommonRogueBuffCsReq.Descriptor;
			}
		}

		// Token: 0x0600309D RID: 12445 RVA: 0x000860DD File Offset: 0x000842DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceCommonRogueBuffCsReq()
		{
		}

		// Token: 0x0600309E RID: 12446 RVA: 0x000860E5 File Offset: 0x000842E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceCommonRogueBuffCsReq(EnhanceCommonRogueBuffCsReq other) : this()
		{
			this.mazeBuffId_ = other.mazeBuffId_;
			this.monsterId_ = other.monsterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600309F RID: 12447 RVA: 0x00086116 File Offset: 0x00084316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceCommonRogueBuffCsReq Clone()
		{
			return new EnhanceCommonRogueBuffCsReq(this);
		}

		// Token: 0x17000DF0 RID: 3568
		// (get) Token: 0x060030A0 RID: 12448 RVA: 0x0008611E File Offset: 0x0008431E
		// (set) Token: 0x060030A1 RID: 12449 RVA: 0x00086126 File Offset: 0x00084326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MazeBuffId
		{
			get
			{
				return this.mazeBuffId_;
			}
			set
			{
				this.mazeBuffId_ = value;
			}
		}

		// Token: 0x17000DF1 RID: 3569
		// (get) Token: 0x060030A2 RID: 12450 RVA: 0x0008612F File Offset: 0x0008432F
		// (set) Token: 0x060030A3 RID: 12451 RVA: 0x00086137 File Offset: 0x00084337
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x060030A4 RID: 12452 RVA: 0x00086140 File Offset: 0x00084340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnhanceCommonRogueBuffCsReq);
		}

		// Token: 0x060030A5 RID: 12453 RVA: 0x0008614E File Offset: 0x0008434E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnhanceCommonRogueBuffCsReq other)
		{
			return other != null && (other == this || (this.MazeBuffId == other.MazeBuffId && this.MonsterId == other.MonsterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060030A6 RID: 12454 RVA: 0x0008618C File Offset: 0x0008438C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MazeBuffId != 0U)
			{
				num ^= this.MazeBuffId.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060030A7 RID: 12455 RVA: 0x000861E4 File Offset: 0x000843E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060030A8 RID: 12456 RVA: 0x000861EC File Offset: 0x000843EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060030A9 RID: 12457 RVA: 0x000861F8 File Offset: 0x000843F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.MazeBuffId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MazeBuffId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060030AA RID: 12458 RVA: 0x00086254 File Offset: 0x00084454
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MazeBuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MazeBuffId);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060030AB RID: 12459 RVA: 0x000862AC File Offset: 0x000844AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnhanceCommonRogueBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MazeBuffId != 0U)
			{
				this.MazeBuffId = other.MazeBuffId;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060030AC RID: 12460 RVA: 0x000862FC File Offset: 0x000844FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060030AD RID: 12461 RVA: 0x00086308 File Offset: 0x00084508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MazeBuffId = input.ReadUInt32();
					}
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400132C RID: 4908
		private static readonly MessageParser<EnhanceCommonRogueBuffCsReq> _parser = new MessageParser<EnhanceCommonRogueBuffCsReq>(() => new EnhanceCommonRogueBuffCsReq());

		// Token: 0x0400132D RID: 4909
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400132E RID: 4910
		public const int MazeBuffIdFieldNumber = 8;

		// Token: 0x0400132F RID: 4911
		private uint mazeBuffId_;

		// Token: 0x04001330 RID: 4912
		public const int MonsterIdFieldNumber = 6;

		// Token: 0x04001331 RID: 4913
		private uint monsterId_;
	}
}
